package ie.dpsystems.errorlog;

import java.util.List;

import android.content.Context;

public class ErrorListController {
	
	private IErrorListView _view;
	
	public ErrorListController(IErrorListView view){
		_view = view;
	}
	
	public void CalculateErrorList() {
		Context c = (Context)_view;
		List<ErrorBasicDetails> errorList = ErrorBasicDetails.GetAllErrorDetails(c);
		_view.SetErrorList(errorList);
	}
}
